<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="ja" xml:lang="ja">
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  <meta http-equiv="Content-Script-Type" content="text/javascript" />
  <title><%= CUSTOM_RITERAL[:app_title] -%></title>
<script language="JavaScript" type="text/javascript">
<!--
var relative_url_root = '<%= controller.request.relative_url_root -%>';
//-->
</script>
  <%= skip_stylesheet_link_tag 'style' %>
  <%= stylesheet_link_tag 'style' %>
  <%= skip_javascript_include_tag 'prototype' %>
  <%= skip_javascript_include_tag 'jquery.js' %>
  <script language="JavaScript" type="text/javascript">$j = jQuery.noConflict();</script>
  <%= skip_javascript_include_tag 'effects' %>
  <%= skip_javascript_include_tag 'skip_util' %>
  <%= javascript_include_tag 'application' %>
<style type="text/css">
.fieldWithErrors {
  padding: 2px;
  background-color: red;
  display: block;
  /* IE6でスクロールしないと背景色が表示されないバグ対応のため */
  _height:1%;
}
a:hover {
  color: blue;
  background-color: yellow;
  font-weight: bold;
}
div#main_navi div.flow_box {
  float: left;
  border: 1px solid silver; margin: 0 10px; padding: 10px; font-weight: bold; font-size: 13px;
}
div#main_navi div.next_arrow {
  float: left;
  border: none; margin: 0; padding: 10px;
}
div.subtitle {
  border-left: 10px solid #aaaaff;
  border-bottom: 1px solid #aaaaff;
  padding-left: 5px;
  padding-top: 3px;
  margin-bottom: 5px;
  font-weight: bold;
}
div.list ul li{
  margin-left: 40px;
  margin-top: 3px;
  margin-bottom: 3px;
}
table#user_info_box tr th,td{
  padding: 3px;
}
</style>
</head>

<body>
<div id="header">
  <div id="logo" style="align: top; margin: 3px 0 0 5px;"><%= link_to image_tag('/custom/images/top_logo.png', :alt => CUSTOM_RITERAL[:abbr_app_title], :height => "45"), :controller => :platform %></div>
</div>

<div id="top">
  <div id="menu_btn">Foryouへの登録</div>
  <div id="user_ctl"><br/></div>
</div>
<div id="main" style="position: relative; background-color: #f0f0f0; padding: 10px; _width: 100%;">
  <% if flash[:warning] != nil %>
  <div class="warning" onclick="this.style.display = 'none';">
    <h3><%= flash[:warning] %></h3>
    <span>[クリックでメッセージ消去]</span>
  </div>
  <% end %>
  <% if flash[:notice] != nil %>
  <div class="notice" onclick="this.style.display = 'none';">
    <h3><%= flash[:notice] %></h3>
    <span>[クリックでメッセージ消去]</span>
  </div>
  <% end %>
  <%= yield %>
</div>

<div id="footer">
  <div class="bottom" style="text-align: center;font-size: 12px;font-weight: bold;"><%= CUSTOM_RITERAL[:footer_contact] -%></div>
  <div id="powered"><%= CUSTOM_RITERAL[:footer_copyright] -%></div>
</div><!-- footer -->
</body>

<script language="JavaScript" type="text/javascript">fnLoadPngs();</script>
</html>
